﻿#region
/*******************************************************************************
** File Name:		    IProductService.cs
** Creator:		        chao.jiang 
** EMail:               chao.jiang 
** Create date:	        
** Latest Modifier:
** Latest Modify date:
** Description:		    
** Modify History:
**
** Code Review:
**
** Version number:       1.0.0
*********************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Text;
using Phoenix.Entity;
using Phoenix.Service.Model;

namespace Phoenix.Service.Contracts
{
    public interface IProductService
    {
        #region  Auto Generation
        
        void AddProduct(ProductModel model );

		void UpdateByProductID (ProductModel model );

		void DeleteByProductID (System.Int32 productID );
		 
        ProductModel GetByProductID (System.Int32 productID );
        
      IList<ProductModel> GetAll ();

		#endregion

      void UpdateTaoKe(int productID, bool taoKe);
    }
}